
.dark { color:#c9d1d9;}
.dark div::-webkit-scrollbar-track {
    background: rgba(82, 82, 82, 0.15); 
}

.dark div::-webkit-scrollbar-thumb {
    background: #b8b8b8;
}

.dark div::-webkit-scrollbar-thumb:hover {
    background: var(--chun-primary-color);
}

.dark .doc-previewer { background-color:var(--dark-bg) !important;}

.dark .title_nav {
    border-left: 1px solid var(--dark-bg-front);
}

.dark .title_nav p a,
.dark .ant-menu-item a {
    color: #c9d1d9;
}

.dark .title_nav p a:hover {
    color: var(--chun-primary-color);
}

.dark .ant-layout-sider {
    border-right: 1px solid var(--dark-bg-front); 
  }

.dark .ant-layout-sider,
.dark .ant-menu,
.dark .site-layout-sub-header-background,
.dark .site-layout-background, 
.dark .ant-layout {
    background: var(--dark-bg);
    color: #c9d1d9;
}


.dark .ant-layout-header,.dark .ant-layout-footer {background: var(--dark-bg-front); color: #c9d1d9;}

.dark #header .ant-input-affix-wrapper,
.dark .ant-dropdown-menu {
    background-color: #0d1117;
    color: #c9d1d9;
}

.dark .ant-dropdown-menu-item,.dark .ant-dropdown-menu-submenu-title {
    color:#c9d1d9;
}

.dark .ant-dropdown-menu-item:hover, .dark .ant-dropdown-menu-submenu-title:hover {
    background-color: #0d1117;
}


.dark .ant-input[readonly] { background-color: #0d1117;}
.dark #header .ant-input-affix-wrapper .ant-input::placeholder {
    color: #c9d1d9;
}

.dark .ant-layout-header {
    border-bottom: none;
}

 

.dark .ant-switch {
    background-color: #0d1117;
}

.dark .cherry-previewer blockquote {
    border-color: #D6DBDF;
    background: none repeat scroll 0 0 rgba(102, 128, 153, .05);
    border-left:10px solid #566a86;
    color: #c9d1d9;
}

.dark div[data-type=codeBlock] pre[class*=language-] {
    border: none !important;
    box-shadow: none !important;
    background-color: #1e242e !important; 
}

.dark .cherry-previewer table tbody>tr:nth-child(2n+1)>td,
.dark .cherry-previewer table tbody>tr:nth-child(2n+1)>th {
    background-color: #161b22;
}

.dark .cherry-previewer table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--dark-bg-front);
}

.dark .cherry-previewer th {
    font-weight: bold;
    background-color: #111111;
}
.dark figure { background-color: #1e242e ;}
 
.dark  .node rect, .dark  .node circle,.dark  .node ellipse, .dark  .node polygon, .dark  .node path {
    fill: #1e242e !important;
    stroke: #111111 !important;
}

.dark svg .label { color: #c9d1d9  !important;}

.dark svg .edgeLabel { background-color: #242511 !important;}
.dark svg .label text,.dark svg span {  fill: #1e242e !important;  color:#c9d1d9  !important; }
.dark svg  .edgeLabel rect  { fill: none !important;}
.dark .cherry-markdown .cherry-table-container .cherry-table th,.dark .cherry-markdown .cherry-table-container .cherry-table td {
    padding: 5px;
    border: 1px solid #30363d; 
}

.dark .cherry-previewer .info p,
.dark .cherry-previewer .error p,
.dark .cherry-previewer .success p,
.dark .cherry-previewer .warning p {
    color: #c9d1d9;
}

.dark .cherry-previewer .info {
    background-color: #1b1b1b2f;
    border-color: var(--chun-info-color);
    color: #c9d1d9;
}

.dark .cherry-previewer .error {
    background-color: #311316;
    border-color: var(--chun-error-color);
    color: var(--chun-error-color);
}

.dark .cherry-previewer .success {
    background-color: #182518;
    border-color: var(--chun-success-color);
    color: var(--chun-success-color);
}



.dark .cherry-previewer .warning {
    background-color: #312b1d;
    border-color: var(--chun-warning-color);
    color: var(--chun-warning-color);
}

.dark .toprightNavHover {
    color: #c9d1d9;
}

.dark .toprightNavHover:hover {
    color: var(--chun-primary-color);
}

.dark .totop {
    background-color: rgba(7, 7, 7, 0.555);
    color: rgb(254, 254, 254);
}
.dark #footer span { color: #eeeeee;}

.dark .search_result ul li { background-color: #c9d1d9;}
.dark .search_result ul li h2 span { }
.dark .search_result ul li p {color: #666;}
.dark .search_result ul li .searched {color: var(--chun-primary-color);}  
.dark .search_result ul li:hover {background-color:var(--chun-primary-color);}
.dark .search_result ul li:hover h2,.dark .search_result ul li:hover p,.dark .search_result ul li:hover .searched { color: #c9d1d9;}
/* ant */
.dark .ant-modal-header,.dark .ant-modal-content { background-color: rgb(247, 247, 247);}
.dark .ant-menu-vertical .ant-menu-item::after,
.dark .ant-menu-vertical-left .ant-menu-item::after,
.dark .ant-menu-vertical-right .ant-menu-item::after,
.dark .ant-menu-inline .ant-menu-item::after {
    border-right: 3px solid var(--chun-primary-color);
}

.dark .ant-menu-light .ant-menu-item:hover,
.dark .ant-menu-light .ant-menu-item-active,
.dark .ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
.dark .ant-menu-light .ant-menu-submenu-active,
.dark .ant-menu-light .ant-menu-submenu-title:hover,
.dark .ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon,
.dark .ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow {
    color: var(--chun-primary-color);
}

.dark .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
    background-color: #161b22;
}

.dark .ant-menu-item-selected a,
.dark .ant-menu-item a:hover,
.dark .ant-menu-item-selected a:hover,
.dark .ant-menu-submenu-selected {
    color: var(--chun-primary-color);
}